import type { EmoParms } from '../base/emo-parms'

export interface GiteeParms extends EmoParms {
  required: Required
  path: string
  random: boolean
}

interface Required {
  owner: string
  repo: string
  branch: string
  access_token: string
  message: string
}

export const GITEE_DEFAULT_PARMS: GiteeParms = {
  required: {
    owner: '',
    repo: '',
    branch: 'master',
    access_token: '',
    message: 'from emo-uploader·Gitee'
  },
  path: '',
  random: true
}